{extend name="public:base" /}
{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight" xmlns="http://www.w3.org/1999/html">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-content">
                    <div class="table-responsive">
                        <table class="table table-stripped">
                            <thead>
                            <tr>
                                <th>#</th>
                                <th>公司名称</th>
                                <th>联系号码</th>
                                <th>地区</th>
                                <th>详细地址</th>
                                <th>创建时间</th>
                            </tr>
                            </thead>
                            <tbody>
                            {notempty name="list"}
                            {volist name="list" id="vo" key="k"}
                            <tr>
                                <td>{$k}</td>
                                <td>{$vo.company_name}</td>
                                <td>{$vo.mobile}</td>
                                <td>{$vo.province}-{$vo.city}-{$vo.area}</td>
                                <td>{$vo.company_address}</td>
                                <td>{$vo.create_time}</td>
                            </tr>
                            {/volist}
                            {/notempty}
                            </tbody>
                        </table>
                        {$list->render()}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="js"}
<script type="text/javascript">
    $(document).ready(function () {
        laydate.render({
            elem: "#dateTime",
            //设置开始日期、日期日期的 input 选择器
            //数组格式为 5.3.0 开始新增，之前版本直接配置 true 或任意分割字符即可
            range: ['#startTime', '#endTime']
        });
        $(".process-flow-btn-dialog").on("click", function (e) {
            e.preventDefault();
            $.get($(e.currentTarget).attr("href"), function (data) {
                new ModalDialog({
                    content: data,
                    closeBtn: false,
                    success: function (data) {
                        return true;
                    }
                }).show();
            })
        });
    });
</script>
{/block}
{block name="css"}
<link rel="stylesheet" href="__ADMIN__/css/process-timeline.css">
{/block}